package model

import "gorm.io/gorm"

type Chat struct {
	gorm.Model
	FormId  int    `gorm:"type:int;not null;comment:'发起者的ID'" json:"form_id"`
	ToId    int    `gorm:"Type:int;not null;comment:'接收者的ID'" json:"to_id"`
	Massage string `gorm:"Type:varchar(225);comment:'内容'" json:"massage"`
}
